a way to inherit their options but the "framed"
and "counter" mechanism supports it.
To use the framed mechanism with your own command replace
\installcommandhandler with \installframedcommandhandler. This creates a
command named \inherited...framed which can be customi
stofsynonyms
Command/ completeregister
Command/ copylabeltext
Command/ ctxfunction
Command/ ctxfunctiondefinition
Command/ currentlabel
Command/ delimitedtext
Command/ description
Command/ enumeration
Command/ fence
Command/ fraction
Command/ framed
Command/ framedtext
Command/ getbuffer
Command/ hbox
Command
d you mean you will add
> this feature for next updates?
we're talking outlines so that is paths which implies no search but you
can do this (Keith and/or Hraban will explain and/or wikify it)
\starttext
\startbuffer[MyText]
\definedfont[name:texgyrepagellabold*d
t pdf
> > the third example currently does not work. did you mean you will add
> > this feature for next updates?
> we're talking outlines so that is paths which implies no search but you
> can do this (Keith and/or Hraban will explain and/or wikify it)
>
> \starttext
>
> \startbuff
hs which implies no search but you
can do this (Keith and/or Hraban will explain and/or wikify it)
\starttext
\startbuffer[MyText]
\definedfont[name:texgyrepagellabold*default]foo f o o%
\stopbuffer
\startbuffer[MyText]
\framed[align=normal,frame=off]{\input{tufte}}%
\stopbuffer
\setb
around them so not meant for
e.g. section heads or whatever text; it's for images, framed stuff,
maybe bTABLE etc
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH
In German, I call these "Spaßeinheiten" (units of measurement =
"Maßeinheiten"; Spaß = fun; "units of leisurement" might be a good
translation).
Apart from being fun they are also useful, for instance the "ts" (and
dk) make good framed offsets whe
bodyfont[modern, 12.50pt]
If these lines are irrelevant for the issue you are experiencing, please
don’t include them.
> \definemargindata [MyInMargin][inleft]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
You define this margin framed, but you
I have been able to achieve it as following, but the first frame width is
fixed so will cause problems with other chapter numbers such as VIII
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=.5em,frame=off]
\tbox{\framed[width=22mm,align=right]{#1}}%
\tbox
are irrelevant for the issue you are experiencing, please
don’t include them.
> \definemargindata [MyInMargin][inleft]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
You define this margin framed, but your sample makes no use of it.
S
and Chinese are
introduced into a document written in French. With footnotes and a few
framed lines.
I submit this example for your perusal and ask you whether it could
possibly appear on a wiki page devoted to the combination of
non-European languages in the same text. In English translation
actor (old) dashfactor (new)
\NC test \NC test and test and test and done \NC \NR
\ML[1,1]
\NC test \NC test and test and test and done \NC \NR
\NC test \NC test and test and test and done \NC \NR
\NC test \NC test and test and test and done \NC \NR
\LL[1,10]
\stoptabulate
\frame
.
For the example, I use this macro definition (which does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file
does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file ./prueba.tex: The file ended when
scanning
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How do it get the same spacing as in the framedtext case?
Is there a solution to this? Or an explanation why the spacing
differs?
these are fundamentally different mechanisms .. you can play
tion=paragraph,
>%% offset=overlay, %% does nothing
>%% backgroundoffset=overlay, %% does nothing
>%% depthcorrection=off, %% does nothing
>%% topoffset=3mm,%% works, but only for positive values
>background=,
>frame=on]
>
>> frame=on) but I didn't get the frame to play nicely (see example below). I
>> can get the frame where I want it if instead I do
>> \framed[frame=on,...]{\externalfigure...}
>> but this leaves me wondering whether
>> (1) I am misinterpreting the wik
shows
which keys and values \setupexternalfigure allows.
> I tried to put a frame around a picture (using \externalfigure with
> frame=on) but I didn't get the frame to play nicely (see example below). I
> can get the frame where I want it if instead I do
> \framed[f
ere I want it if instead I do
\framed[frame=on,...]{\externalfigure...}
but this leaves me wondering whether
(1) I am misinterpreting the wiki pages,
(2) The wiki pages are misleading/wrong, or
(3) There is a bug in some code.
If anyone would care to enlighten me, I would appreciate it.
In
for some more reading.
> You can do: \setupTABLE[2][3] to select the formatting for row 3 and column 2
> (or the other way around ... always forget). In the worst case, you can
> always do
> ...
> \NC .. \NC[options] ... \NC \NR
>
> Each cell is just a \framed[
for row 3 and column 2
(or the other way around ... always forget). In the worst case, you can always
do
...
\NC .. \NC[options] ... \NC \NR
Each cell is just a \framed[...]; so all options for \framed[...] work for
Natural Tables.
vrules don't use tabulate
>> to create the tables.
>> Coincidence? I think not. :-)
> Table which rely on rules to make the content readable have a serious
> problem
> (read Edward Tufte books how you can improve the visual style) but the
> better
> alternative in this c
es.
Below is a example which uses the table like wrapper for natural tables
which makes adding rules and changing the padding around text very
simple because each table cell is a \framed block with all its options.
\starttext
\startsetups[ruledtable]
\setupTABLE [frame=off,align=middle,loffset=.5
>
> \startMPcode
>
> draw textext("hello") rotated 45 ;
>
> \stopMPcode
>
>
>
> \framed{hello}
>
>
>
> \stopmode
>
>
>
> \startnotmode[mkiv]
>
>
>
> \startMPcode
>
> draw textext("hello
draw textext("hello") rotated 45 ;
\stopMPcode
\framed{hello}
\stopmode
\startnotmode[mkiv]
\startMPcode
draw textext("hello") rotated -45 ;
\stopMPcode
\framed{hello}
\stopnotmode
\stoptext
After compiling in the folder:
Is this becaus
I tried this for old style factorial, but it appears much below the line in
which it is used. How can I bring it up?
On Wed, Dec 27, 2023 at 6:18 PM Shiv Shankar Dayal <
shivshankar.da...@gmail.com> wrote:
>
>
> A simple alternative to tikz is the usage of \framed.
>>
Hi!
Not by computer, and I'm sure Hans (or Wolfgang) has already shown a way to
do the old factorial with the actuarian mechanism when I'm back to the
computer...
/Mikael
Den ons 27 dec. 2023 13:49Shiv Shankar Dayal
skrev:
>
>
> A simple alternative to tikz is the usage o
A simple alternative to tikz is the usage of \framed.
>
> \define[1]\oldfact
> {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}}
>
> \starttext
>
> \m{\oldfact{n}}
>
> \stoptext
>
> Wolfgang
>
> Thanks a lot. It should work n
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31:
What do you expect here to pass as argument to the oldfact command?
I will pass something like n, 5, 10 etc.
A simple alternative to tikz is the usage of \framed.
\define[1]\oldfact
{\inmframed[frame=off,strut=no,leftframe
Hi,
in my ConTeXt book, some examples for \framed with rounded corners look
odd, as if the MetaPost calculation of rounded corners fails.
I can’t find a minimal example that shows the problem, and I can’t
imagine which of the settings in my extensive environment would cause it.
Find below
nothing
%% depthcorrection=off, %% does nothing
%% topoffset=3mm,%% works, but only for positive values
background=,
frame=on]
\starttext
\startframedtext
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How do
xyscaled
(OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth)
withpen pencircle scaled OverlayLineWidth
withcolor OverlayColor ;
\stopusableMPgraphic
\defineoverlay[MetaCirc][\useMPgraphic{MetaCirc}]
a\dontleavehmode\framed
[background=MetaCirc,
bac
On 11/5/2023 7:23 AM, anton.chig...@mail.com wrote:
I want to use \bigcirc to encircle text.
Is there a way to do it.
if you're wiling to compensate for its depth:
\defineoverlay
[BigCirc]
[{\scale
[width=\overlaywidth]
{\setbox0\hpack{\bigcirc}\raise\dp0\box0}}]
\framed
[bcor=0mm,alphabets=3.1]
\setuppagenumbering[alternative=doublesided]
\starttext
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
\stoptext
I got:
texmf-dist/tex/context/third/typearea/t-typearea.tex'
loading > Something like KOMA-TypeArea
tex error > tex
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
\stoptext
I got:
texmf-dist/tex/context/third/typearea/t-typearea.tex'
loading > Something like KOMA-TypeArea
tex error > tex error on line 89 in file
/usr/local/texlive/2023/texmf-dist/tex/context/third/type
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't
work in framed environment. > > This is a short code: > >
\definefontfeature[default][default][expansion=quality,protrusion=quality] > >
\setupalign[hz,hanging] > > \showfram
I forgot to attach the pdf. Eredeti levél Hello:Protrusioin
doesn't work in framed environment.This is a short
code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input
tufte\blank\framed[frame=off,location
Csikos Bela schrieb am 20.10.2023 um 14:53:
Hello:
Protrusioin doesn't work in framed environment.
This is a short code:
\definefontfeature[default][default][expansion=quality,protrusion=quality]
\setupalign[hz,hanging]
\showframe
\starttext
\input tufte
\blank
\framed[frame=off
Hello:Protrusioin doesn't work in framed environment.This is a short
code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input
tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input
tufte
}\blank
Jeroen schrieb am 16.09.2023 um 22:28:
This MWE has a framed text for some verbatim text (code) with as title
ref. a counter 1, 2, etc.. Is there a way to change this frame text
title as following with the chapter number and a sequential number and
the title.
Code Fragment 1.1 (The First
\stopCode
\stopchapter
\stoptext
Op zo 17 sep 2023 om 17:31 schreef Bruce Horrocks :
>
>
> > On 16 Sep 2023, at 21:28, Jeroen wrote:
> >
> > This MWE has a framed text for some verbatim text (code) with as title
> ref. a counter 1, 2, etc.. Is there a way to change
> On 16 Sep 2023, at 21:28, Jeroen wrote:
>
> This MWE has a framed text for some verbatim text (code) with as title ref. a
> counter 1, 2, etc.. Is there a way to change this frame text title as
> following with the chapter number and a sequential number and th
This MWE has a framed text for some verbatim text (code) with as title ref.
a counter 1, 2, etc.. Is there a way to change this frame text title as
following with the chapter number and a sequential number and the title.
Code Fragment 1.1 (The First Title)
Code Fragment 1.2 (The Second Title
Jeroen schrieb am 10.09.2023 um 22:05:
Is there an easy way to reduce the line space between rows in a
natural table so the table takes less vertical space.
Natural tables and extreme tables take extra vertical space because the
table cell use the framed-mechanism
which add a small margin
; \ifmmode
> \mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
> \else%
> \framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
> \fi%
> }
>
> Maybe something else is available nowadays.
>
> A. Christe
> Le 22 août 2023 à 12
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
Maybe something else is available nowadays
On 8/15/23 21:48, vm via ntg-context wrote:
> [...]
> A different approach is to use \dontleavehmode
In that case, \dorecurse is your friend, such as in:
\starttext
\startTEXpage[offset=10mm, pagestate=start]
\dorecurse{5}{
\dontleavehmode
\framed[frame=off]{\externalfigure[p1-4_4-01-56-
thanks!
On 15/08/2023 21:26, Hans Hagen via ntg-context wrote:
you're missing \startcaption \stopcaption after each content section
indeed, adding \startcaption\stopcaption at each line will make the
spacing equal.
A different approach is to use \dontleavehmode
\dontleavehmode
\framed
ter the meeting) but here is one:
>
> \starttext
>
> \defineoverlay
>[test]
>[\color
> [blue]
> {TEST
>\inframed
> [foregroundcolor=red]
> {xxx}
>TEST}]
>
> \fr
}
TEST}]
\framed
[background=test,
foregroundstyle=\switchtobodyfont[small]]
{test}
\stoptext
From now on many commands accept (properly) nested [] inside commands
that use [] as fences (like the setup commands) where it makes sense. It
is up to the user
=style:oblique,
force=yes,
rscale=1.0]
\definefontfamily [archimate] [ss] [Helvetica]
\setupbodyfont[archimate]
\starttext
\setuplanguage[en][patterns={ru}]\mainlanguage[ru]
{\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної
поведінки (на відміну від інформаційної поведінки
[archimate] [ss] [Helvetica]
\setupbodyfont[archimate]
\starttext
\setuplanguage[en][patterns={ru}]\mainlanguage[ru]
{\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної
поведінки (на відміну від інформаційної поведінки). Наприклад `Металургійний
комбінат'.}}\\
\setuplanguage[ua
Hans van der Meer via ntg-context schrieb am 16.07.2023 um 12:14:
I cannot get rid of some depth in framed. Used various combinations of
the depth and backgrounddepth setting, nothing helps.
What am I doing wrong? Or is something in \framed not working in the
way I expected?
1. Include your
I cannot get rid of some depth in framed. Used various combinations of the depth and backgrounddepth setting, nothing helps.What am I doing wrong? Or is something in \framed not working in the way I expected?See the accompanying MWE.
yours sincerelydr. Hans van der Meer
framedepth.pdf
r[Gebuesch]
Hier versteckt sich ein Wolf...
\stopviewerlayer
Bäume, Bäume, Bäume...
\viewerlayer[Gebuesch]{... und ein Rotkehlchen}
\startviewerlayer[Versteck]Rumpelwicht\stopviewerlayer
\defineoverlay[MitVersteck]
[{\overlayrollbutton[VideLayer{Versteck}][HideLayer{Versteck}]}]
\framed[
Hi,
I uploaded a new lmtx. Apart from the modules installer (that Hraban has
to check) and subtle improvements in math (we're now in tweaking
penalties mode) there are a few changes:
- The endstrut in framed got lost but is back again; there is now alao a
location=inline option.
- Single
I found a MWE that shows the problem:
"""
\setuppapersize[C5]
\showframe
\starttext
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.75\textheight]{TEST}
\stopplacefigure
\dorecurse{4}{\section{Tufte \recurselevel}
\samplefile{tuf
it in a simple example like this:
"""
\starttext
\dorecurse{2}{\samplefile{tufte}}
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure
\dorecurse{5}{\samplefile{knuth}}
\stoptext
"""
What could
t
\dorecurse{2}{\samplefile{tufte}}
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure
\dorecurse{5}{\samplefile{knuth}}
\stoptext
"""
What could cause this behavior? For what shoul
On Fri, 19 May 2023, Jeroen via ntg-context wrote:
> Many thanks. Is there a proper way to add some space (a couple of pt or em)
> to the left and the right of the text itself so the frame does not get so
> close to the text?
\framed[loffset=0.2ex, roffset=0.2ex]{...}
Also s
chrieb am 19.05.2023 um 14:22:
> > In order to get some inline framed verbatim text, I have in the past
> > always used the following:
> >
> > \starttext
> >
> > This is an
> > \inframed
> > [frame=on,
> > corner=00,
> > radius=2mm,of
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22:
In order to get some inline framed verbatim text, I have in the past
always used the following:
\starttext
This is an
\inframed
[frame=on,
corner=00,
radius=2mm,offset=-1.5pt]
{\ttx \bf example}
\stoptext
Since this has come-up
In order to get some inline framed verbatim text, I have in the past always
used the following:
\starttext
This is an
\inframed
[frame=on,
corner=00,
radius=2mm,offset=-1.5pt]
{\ttx \bf example}
\stoptext
Since this has come-up more and more often, I created the following:
\define[1
Gerben Wierda via ntg-context 于2023年5月17日周三 06:42写道:
> I did a simple thing, replace a \framed by \framedtext to get
> \placeinitial working but that doesn't seem to work automatically:
>
> %==
> \starttext
> \setupinitial[n=2,text=Knuth]\placei
I did a simple thing, replace a \framed by \framedtext to get \placeinitial
working but that doesn't seem to work automatically:
%==
\starttext
\setupinitial[n=2,text=Knuth]\placeinitial\input knuth
\framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial
Gerben Wierda via ntg-context schrieb am 16.05.2023 um 09:54:
That does not make a difference.
Output of both lines
\framed[width=\textwidth,frame=off,align=flushright]{作図:A bit of text}
\framed[width=\textwidth,frame=off,align=flushright,broad]{作図:A bit of
text}
\framed[width=\textwidth
That does not make a difference.
Output of both lines
\framed[width=\textwidth,frame=off,align=flushright]{作図:A bit of text}
\framed[width=\textwidth,frame=off,align=flushright,broad]{作図:A bit of text}
is identical.
Gerben
> On 16 May 2023, at 03:36, Li Yanrui (李延瑞) via ntg-context
>
script [nihongo]
> \stopsetups
> \setuplanguage [ja] [setups=japanese]
> \mainlanguage [ja]
>
> \starttext
> \setupindenting[none]
> \setupindenting[no]
> \framed[width=\textwidth,frame=off,align=flushleft]{作図:A bit of text}
> \framed[width=\textwidth,frame=off,align=flushright]{作図:A
I'd like to use a drop cap inside a \framed, but it doesn't work.
Minimal example:
%==
\starttext
\setupinitial[n=2,text=Knuth]\placeinitial\input knuth
\framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input knuth
}
\stoptext
=style:W5,
force=yes]
\definefontfamily [archimate] [ss] [Optima]
\setupbodyfont[archimate]
\startsetups [japanese]
\setscript [nihongo]
\stopsetups
\setuplanguage [ja] [setups=japanese]
\mainlanguage [ja]
\starttext
\setupindenting[none]
\setupindenting[no]
\framed[width=\textwidth,frame=off
]
[renderingsetup=list:toclist]
\setupheadtext[section=Table of Contents]
\startsetups toclist
\framed[align=normal, frame=off]{\placelist [section] [criterium=all,
alternative=toclist]}
\stopsetups
\definehspace[tspace][4cm]
\setupframed[
height=fit,
width=fit,
location=middle,
frame
not affect TABLE as such since it is \framed we are talking
about really).
Bruce's suggestion of a dummy row is a simple one, and it works. But I
will also look at your solution too. Am always keen to have more than
one arrow in the quiver!
Julian
On 25/3/23 20:48, Henning Hraban Ramm via ntg
in black. I have tried all kinds of
combinations but unsuccessfully.
Table cells are based on \framed, and there doesn’t seem to be an option
to have different colors of parts of the frame (e.g. bottomframecolor…)
You can use a MetaPost graphic as background, like in the “diagonal”
example
in a framed (and therefore also
natural tables and extreme tables) with align=high, align=low and
align=lohi.
\bTR[align={middle,low},strut=no]
\bTH \dontleavehmode\rotate{animal} \eTH
\bTH \dontleavehmode\rotate{size} \eTH
\bTH \dontleavehmode\rotate{weight} \eTH
\bTH \dontleavehmode
,
footer=0.75cm,
]
\definelayer[test3]
%[x=.5\paperwidth, y=.5\paperheight]
[x=.5\textwidth, y=.5\textheight]
%\setupbackgrounds[page]
\setupbackgrounds[text]
[background=test3]
\starttext
\setlayer[test3][location={middle}]
\framed[offset=overlay
grounds[page]
\setupbackgrounds[text]
[background=test3]
\starttext
\setlayer[test3][location={middle}]
\framed[offset=overlay]{{\startcombination[nx=3,ny=1,distance=15mm]
{\externalfigure[cow][width=15mm]}{}
\rotate[rotation=90]{\externalfigure[cow
t that can produce
something like in the attached picture?
If you don’t need an enumeration, then don’t use one.
Did you try text backgrounds?
https://wiki.contextgarden.net/TextBackground
And then use the plethora of \framed option
Dear List!
I’ve managed to solve the issue with some modification, though it seems not
possible to handle it within a frame. See example below
Original settings in m-resume.tex
\define[5]\EDUITEM{\framed[frame=off,align=right,width=broad] % The reason
seems to be the frame command
I somehow found a way. It doesn't work on my minimal example but it does
in my real doc. I tested a lot of thing but I think it was thanks to the
offset=none parameters
For the record:
###
\define[2]\MySection{
\framed[
location=top,
strut=no,
offset=none
On 2023-02-15 08:44, Alex Leray via ntg-context wrote:
\showframe
\showlayout
\showgrid
\setuplayout[
grid=yes,
]
\define[2]\MySection{\framed[
location=keep,
frame=on,
width=broad,
% height=22pt,
align=middle
]{{#1.\\#2}}}
\setuphead[section][
strut
On 2023-02-15 08:44, Alex Leray via ntg-context wrote:
\showframe
\showlayout
\showgrid
\setuplayout[
grid=yes,
]
\define[2]\MySection{\framed[
location=keep,
frame=on,
width=broad,
% height=22pt,
align=middle
]{{#1.\\#2}}}
\setuphead[section][
strut
above the
(framed) title and align the section number with the first line (it's on
the second line)
Any idea? Many thanks.
###
\showframe
\showlayout
\showgrid
\setuplayout[
grid=yes,
]
\define[2]\MySection{\framed[
location=keep,
frame=on,
width=broad,
% height=22pt
ithcolor .625yellow) ;
> draw fullcircle xscaled 1.5cm yscaled 1cm ;
> \stopuseMPgraphic
>
> %\startnotmode[proof]
> % \defineoverlay[circled][\useMPgraphic{circled}]
> %\stopnotmode
>
> \define[1]\Circled%
> {\framed
> [background=circled,frame=off,offset=overlay]
>
led%
{\framed
[background=circled,frame=off,offset=overlay]
{\color[darkred]{#1}}}
\setuppagenumbering[location=]
\setupheadertexts[margin][][\hbox to \hsize{\hss\Circled\pagenumber\hss}]
\startuniqueMPgraphic{titled}
path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayhei
\startbuffer[address]
Name \crlf
Address 1 \crlf
A long line that wraps \crlf
Town \crlf
Postcode
\stopbuffer
\framed[width=3cm,align=flushleft]{\getbuffer[address]}
\framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}}
\stoptext
\starttext
\startbuffer[address]
Name
Address
\startbuffer[address]
Name \crlf
Address 1 \crlf
A long line that wraps \crlf
Town \crlf
Postcode
\stopbuffer
\framed[width=3cm,align=flushleft]{\getbuffer[address]}
\framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}}
\stoptext
Did you try \framedtext instead of \framed
that wraps \crlf
Town \crlf
Postcode
\stopbuffer
\framed[width=3cm,align=flushleft]{\getbuffer[address]}
\framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}}
\stoptext
—
Bruce Horrocks
Hampshire, UK
EXpage[offset=1dk]
\dontleavehmode\ruledhbox{\framed
[framecolor=red,
framecorner=#1,
frameradius=\zeropoint]
{TEST #1}}
\ruledhbox{\framed
[framecolor=red,
framecorner=#1,
frameradius=5pt]
{T
pdated or should the
change be reverted for backwards compatibility?
MWE:
\starttext
\framed[corner=7]{Some text}
\stoptext
With value 07 the frame doesn't display, with value 7 the frame appears as
expected. (Readers with a long-haired white cat can try corner=007) ;-)
Version: ConTeX
One trick is to wrap the matrices inside a framed environment and putting the
location parameter there:
\starttext
\startformula
\startmatrix[left={\left(},right={\right)}]
\NC A \NC B \NR \NC C \NC D \NR
\stopmatrix
=
\startframed[location=top,frame=no,offset=none]
\startmatrix[left={\left
Dear List,
The following example is from the mailing list:
I would like to have double vertical Lines with $\Vert instead of \VL, and also
\HL.
How can I do this with an Math Modus?
\setupcolors[state=start]
\starttext
\null\vskip15ex
\hskip1em\framed[orientation=90,frame=off]{\bf
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
\starttext
\dots E.g
scaled .8pt ;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
\starttext
\mpos macro that uses
>> \hpos but sets the contents as display-style math. This isn’t great for
>> spacing, and it does't adapt to different math styles. \framed has a math
>> version, \mframed, that sets the contents in the appropriate math style. If
>> anyone know a way to
version of \hpos? The contents of \hpos are set as
text, even when \hpos is in mathematics, so I wrote an \mpos macro that uses
\hpos but sets the contents as display-style math. This isn’t great for
spacing, and it does't adapt to different math styles. \framed has a math
version, \mframed
version of \hpos? The contents of \hpos are set as
text, even when \hpos is in mathematics, so I wrote an \mpos macro that uses
\hpos but sets the contents as display-style math. This isn’t great for
spacing, and it does't adapt to different math styles. \framed has a math
version, \mframed
Joel via ntg-context schrieb am 25.11.2022 um 23:25:
I have some combinations used throughout my document like this:
\starttext
\startcombination[4*2]
{%
\framed[width=.25\textwidth, height=.25\textwidth]{}%
}{%
\strut word \\ \thinrule\hairline\hairline
I have some combinations used throughout my document like this:
\starttext
\startcombination[4*2] {%
\framed[width=.25\textwidth, height=.25\textwidth]{}%
}{%
\strut word \\ \thinrule\hairline\hairline
ntg-context <
ntg-context@ntg.nl> wrote:
> I’m not sure if this ever worked, but at least in latest LMTX it doesn’t:
>
> """
> \setupcolors[state=start,cmyk=yes,rgb=no,intent=overprint]
>
> \starttext
>
> \framed[
>background=color,
>ba
I’m not sure if this ever worked, but at least in latest LMTX it doesn’t:
"""
\setupcolors[state=start,cmyk=yes,rgb=no,intent=overprint]
\starttext
\framed[
background=color,
backgroundcolor=yellow,
]{\ss\bfd
Black should always overprint.
}
\stoptext
""&q
1 - 100 of 3178 matches
Mail list logo